/**
 * Project Name:design-pattern <br/>
 * File Name:MenuItem.java <br/>
 * Package Name:com.ftu.study.pattern.iterator <br/>
 */
package com.ftu.study.pattern.iterator;

/**
 * <p>  </p>
 * @version 1.0 2018年12月3日 mq 
 */
public class MenuItem {
    String name;
    String description;
    boolean vegetarian;
    double price;
    
    public MenuItem(String name, String description, boolean vegetarian, double price) {
        this.name = name;
        this.description = description;
        this.vegetarian = vegetarian;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public boolean isVegetarian() {
        return vegetarian;
    }

    public double getPrice() {
        return price;
    }
    
    
}
